/* Introducing custom fonts, for those peasants out there still using the old fashion */
@font-face {
  font-family: 'Ubunchu';
  font-style: normal;
  font-weight: normal;
  src: local('Ubuntu'),
         url('../fonts/ubuntu.woff') format('woff');
}
@font-face {
  font-family: 'Ubunchu';
  font-style: normal;
  font-weight: bold;
  src: local('Ubuntu Bold'),
       local('Ubuntu-Bold'),
         url('../fonts/ubuntu-bold.woff') format('woff');
}
@font-face {
  font-family: 'Ubunchu';
  font-style: italic;
  font-weight: normal;
  src: local('Ubuntu Italic'),
       local('Ubuntu-Italic'),
         url('../fonts/ubuntu-italic.woff') format('woff');
}
@font-face {
  font-family: 'Ubunchu';
  font-style: italic;
  font-weight: bold;
  src: local('Ubuntu Bold Italic'),
       local('Ubuntu-BoldItalic'),
         url('../fonts/ubuntu-bold-italic.woff') format('woff');
}
@font-face {
  font-family: 'Ubunchu-Mono';
  font-style: normal;
  font-weight: normal;
  src: local('Ubuntu Monospace'),
       local('Ubuntu-Monospace'),
         url('../fonts/ubuntu-mono.woff') format('woff');
}

/* Actual layout */
html {
  font-family: "Ubunchu";
  color: #f00;
  background-color: #000;
  font-size: medium;
}

header {
  margin-bottom: 16px;
}

header img, #headerBannerContainer {
  width: 240px;
  margin: 0 auto;
}

nav {
  text-align: center;
  font-size: smaller;
}

nav a {
  color: #fff;
  text-decoration: none;
}

nav a:hover {
  border: 0;
}

footer {
  text-align: center;
}

div#body {
  max-width: 1000px;
  margin: 4px auto;
}

div.error {
  background-color: #9D1E0D;
  color: #fff;
  max-width: 666px;
  border: 1px solid #fff;
  border-radius: 8px;
  margin: 4px auto;
  padding: 5px;
}

div.error p {
  margin: 0;
  padding: 0;
}

/* Anchors */
a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  color: #bbb;
  border-bottom: 1px dotted #bbb;
}

/* Forms */
input {
  width: 200px;
  border-radius: 8px;
  padding-left: 2px;
}

input[type="checkbox"] {
  max-width: 16px;
  max-height: 16px;
}

input[type="submit"] {
  width: 150px;
  border-radius: 8px;
  text-align: center;
  background-color: inherit;
  border-color: #f00;
  color: #fff;
}

/* Tables */
td.left {
  text-align: right;
  width: 50%;
}
td.right {
  text-align: left;
  width: 50%;
}

/* Prettier boxes with content */
.tabDiv li {
  list-style: none;
  float: left;
  margin-left: 2px;
  margin-right: 2px;
}
.tabDiv ul a {
  display: block;
  padding: 6px 10px;
  text-decoration: none;
  margin-left: 0;
  font: 10px Verdana;
  color: #FFF;
  background: #444;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.tabDiv ul a:hover {
  color: #FFF;
  background: #111;
  border: 0;
  text-decoration: none;
}
.tabDiv ul a.selected {
  margin-bottom: 0;
  color: #000;
  background: snow;
  cursor: default;
}
.tabDiv div {
  padding: 10px 10px 8px 10px;
  padding-top: 3px;
  margin-top: -15px;
  clear: left;
  border: 1px solid #fff;
  border-radius: 8px;
  background-color: #070808;
}
  
/* Dirty stuff */
::-webkit-input-placeholder, ::-moz-placeholder  {
  color: #999;
}
